package com.dzsw.javabase.keywordfinal;

import lombok.Data;

@Data
public class Student extends Person {

    public Student(String name, int age) {
        super(name, age);
    }

    public void doSay() {
        System.out.println("I am a student.");
    }
}
